This program is shareware and the cost is ten U.S. Dollars ($10.00).
It can be freely distributed as long as it is distributed with this notice.
Documentation
General:
Radix Assist is a multi-radix integer calculator. It allows manipulation of a 32-bit quantity numerically in bases 2, 10 and 16, as well as graphically in a representation of a 32-bit register. Actions taken through any input automatically update all others. All standard Edit menu items are functional (including Cut, Copy, Paste, Clear and Undo).
Edit Fields:
There are 2 edit fields, each of which can be in one of 3 states: Hexadecimal, Decimal and Binary.
Valid input is determined by the current state, represented by the adjacent popup menu item.
Popups:
Popup menus representing the view current view of each edit field allow selection of one of the 3 possible states of the edit field.
Casting:
The current value can be cast to one 3 possible sizes: 32-bits, 16-bits and 8-bits, through the use of radio buttons labeled long, short and char. Signed and unsigned representation is determined through the check-box labeled unsigned and visually observed in edit fields in the decimal state.
Operations:
Standard arithmetic and bitwise operations are supported through buttons labeled with standard "C" operators:
1's complement: ~
2's complement: +/-
left shift: <<
right shift: >>
addition: +
subtraction: -
multiplication: *
division: /
bitwise AND: &
bitwise OR: |
bitwise XOR: ^
assignment: =
These operations can be performed through pressing the buttons or by keyboard/keypad equivalents.
Some less obvious keyboard equivalents are:
"m" for "+/-"
"<" for "<<"
">" for ">>"
"Enter" for "="
The Register View:
The 32-bit register is displayed at the bottom of the window. Every 4th bit is labeled and the bits are numbered right to left. Clicking on a bit toggles its state. Dragging bits sets a range, Option-dragging clears a range. Shift clicking sets a range from the previous click, and option-shift-clicking clears the range. All changes to the register are reflected in the edit fields and vice-versa.
Special Cut/Copy/Paste:
Copy and Cut functions from a hexadecimal field will prepend "0x" to the copied value.
Pasting a valid hexadecimal number beginning with "0x" will automatically set the target edit field to hexadecimal.